package Demo01;
import java.util.List;
public class of18 {
    public static void main(String[] args) throws Exception {
        List<String> all = List.of("www.baidu.com","edu.yootk.com","www.bidu.com") ;
        for (Object temp : all.toArray()) {
            System.out.println("[集合数据]" + temp) ;
        }
    }
}
